﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005BF RID: 1471
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishTutorialGuideCsReq : IMessage<FinishTutorialGuideCsReq>, IMessage, IEquatable<FinishTutorialGuideCsReq>, IDeepCloneable<FinishTutorialGuideCsReq>, IBufferMessage
	{
		// Token: 0x170012D6 RID: 4822
		// (get) Token: 0x06004221 RID: 16929 RVA: 0x000B485C File Offset: 0x000B2A5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishTutorialGuideCsReq> Parser
		{
			get
			{
				return FinishTutorialGuideCsReq._parser;
			}
		}

		// Token: 0x170012D7 RID: 4823
		// (get) Token: 0x06004222 RID: 16930 RVA: 0x000B4863 File Offset: 0x000B2A63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishTutorialGuideCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012D8 RID: 4824
		// (get) Token: 0x06004223 RID: 16931 RVA: 0x000B4875 File Offset: 0x000B2A75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishTutorialGuideCsReq.Descriptor;
			}
		}

		// Token: 0x06004224 RID: 16932 RVA: 0x000B487C File Offset: 0x000B2A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialGuideCsReq()
		{
		}

		// Token: 0x06004225 RID: 16933 RVA: 0x000B4884 File Offset: 0x000B2A84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialGuideCsReq(FinishTutorialGuideCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004226 RID: 16934 RVA: 0x000B48A9 File Offset: 0x000B2AA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialGuideCsReq Clone()
		{
			return new FinishTutorialGuideCsReq(this);
		}

		// Token: 0x170012D9 RID: 4825
		// (get) Token: 0x06004227 RID: 16935 RVA: 0x000B48B1 File Offset: 0x000B2AB1
		// (set) Token: 0x06004228 RID: 16936 RVA: 0x000B48B9 File Offset: 0x000B2AB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x06004229 RID: 16937 RVA: 0x000B48C2 File Offset: 0x000B2AC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishTutorialGuideCsReq);
		}

		// Token: 0x0600422A RID: 16938 RVA: 0x000B48D0 File Offset: 0x000B2AD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishTutorialGuideCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600422B RID: 16939 RVA: 0x000B4900 File Offset: 0x000B2B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600422C RID: 16940 RVA: 0x000B493F File Offset: 0x000B2B3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600422D RID: 16941 RVA: 0x000B4947 File Offset: 0x000B2B47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600422E RID: 16942 RVA: 0x000B4950 File Offset: 0x000B2B50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600422F RID: 16943 RVA: 0x000B4984 File Offset: 0x000B2B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004230 RID: 16944 RVA: 0x000B49C2 File Offset: 0x000B2BC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishTutorialGuideCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004231 RID: 16945 RVA: 0x000B49F3 File Offset: 0x000B2BF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004232 RID: 16946 RVA: 0x000B49FC File Offset: 0x000B2BFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040019F6 RID: 6646
		private static readonly MessageParser<FinishTutorialGuideCsReq> _parser = new MessageParser<FinishTutorialGuideCsReq>(() => new FinishTutorialGuideCsReq());

		// Token: 0x040019F7 RID: 6647
		private UnknownFieldSet _unknownFields;

		// Token: 0x040019F8 RID: 6648
		public const int GroupIdFieldNumber = 12;

		// Token: 0x040019F9 RID: 6649
		private uint groupId_;
	}
}
